package com.dylan.magic.mybatis.sharding.masterslave.storage.mapper;

import com.dylan.magic.mybatis.sharding.masterslave.entity.po.GoodsPo;

public interface GoodsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(GoodsPo record);

    int insertSelective(GoodsPo record);

    GoodsPo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(GoodsPo record);

    int updateByPrimaryKey(GoodsPo record);

    GoodsPo selectByGoodsId(Long goodsId);
}